<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta name="author" content="shangzhengbo&sunchangxing" />
<meta name="viewport"
	content="width=device-width,height=device-height,inital-scale=1.0,maximum-scale=1.0,user-scalable=no;">
<title>美食推荐</title>
<script type="text/javascript">
	/**
	function onBridgeReady() {
		WeixinJSBridge.call('hideOptionMenu');
	}
	if (typeof WeixinJSBridge == "undefined") {
		if (document.addEventListener) {
			document.addEventListener('WeixinJSBridgeReady', onBridgeReady,
					false);
		} else if (document.attachEvent) {
			document.attachEvent('WeixinJSBridgeReady', onBridgeReady);
			document.attachEvent('onWeixinJSBridgeReady', onBridgeReady);
		}
	} else {
		onBridgeReady();
	}
	// 对浏览器的UserAgent进行正则匹配，不含有微信独有标识的则为其他浏览器
	var useragent = navigator.userAgent;
	if (useragent.match(/MicroMessenger/i) != 'MicroMessenger') {
		// 这里警告框会阻塞当前页面继续加载
		var opened = window.open('about:blank', '_self');
		opened.opener = null;
		opened.close();
		window.location.href = "../error/wechat.html"
	}
	*/
</script>
<script type="text/javascript" src="../js/jquery.min.js"></script>
<script src="../js/radiosex.js"></script>
<link rel="stylesheet" type="text/css"
	href="<%=request.getContextPath()%>/css/registarr.css">
<link rel="stylesheet" type="text/css" href="../css/datalist.css">
<link rel="stylesheet" type="text/css" href="../css/search/search.css">

</head>
<%
	String searchType = "all";
	searchType = request.getParameter("szb");
	String rety = "reType";
	if (searchType == null) {
		searchType = "alltype";
		rety = "alltype";
	}
%>
<body onload="changeType('<%=rety%>','<%=searchType%>')">
	<jsp:include page="../Share/top_back.jsp"></jsp:include>
	<script type="text/javascript">
		$("#alltitle").html("找菜谱");
		function backhistory() {
			window.history.go(-1);
		}
	</script>
	<div class="searchwhiteBack searchCondition">
		<label class="menuLabel" id="btnType"> <span id="cx">全部菜系</span>
			<img id="imgtype" src="../images/job/hide.png">
		</label> <label class="menuLabelRight" id="btnLatest"><span id="fb">最新发布</span>
			<img id="imglaster" src="../images/job/hide.png"> </label>
	</div>
	<div class="searchwhiteBack dataSource">
		<form accept-charset="utf-8" action="#">
			<div id="divTypeSource" style="display: none;">
				<ul id="ulType">
					<li class="btnhidden" onclick="changeType('alltype','alltype')">全部</li>
					<li class="btnhidden" onclick="changeType('reType','su1.png')">苏菜</li>
					<li class="btnhidden" onclick="changeType('reType','15.png')">粤菜</li>
					<li class="btnhidden" onclick="changeType('reType','lu1.png')">鲁菜</li>
					<li class="btnhidden" onclick="changeType('reType','hui1.png')">徽菜</li>
					<li class="btnhidden" onclick="changeType('reType','zhe1.png')">浙菜</li>
					<li class="btnhidden" onclick="changeType('reType','min1.png')">闽菜</li>
					<li class="btnhidden" onclick="changeType('reType','xiang1.png')">湘菜</li>
					<li class="btnhidden" onclick="changeType('reType','11.png')">川菜</li>
				</ul>
			</div>
		</form>
		<form accept-charset="utf-8" action="#">
			<div id="divPlaceSource" style="display: none;">
				<ul id="ulPlace">
					<li class="btnhidden" onclick="changeType('alltype','alltype')">全部</li>
					<li class="btnhidden" onclick="changeType('jobInfo','美容养生')">美容养生</li>
					<li class="btnhidden" onclick="changeType('jobInfo','健脾养胃')">健脾养胃</li>
					<li class="btnhidden" onclick="changeType('jobInfo','补钙食谱')">补钙食谱</li>
					<li class="btnhidden" onclick="changeType('jobInfo','润肺止咳')">润肺止咳</li>
					<li class="btnhidden" onclick="changeType('jobInfo','保肝补血')">保肝补血</li>
					<li class="btnhidden" onclick="changeType('jobInfo','降血糖')">降血糖</li>
					<li class="btnhidden" onclick="changeType('jobInfo','降血脂')">降血脂</li>
					<li class="btnhidden" onclick="changeType('jobInfo','痛经')">痛经</li>
					<li class="btnhidden" onclick="changeType('jobInfo','更多')">更多</li>
				</ul>
			</div>
			<div id="divLatestSource" style="display: none;">
				<ul>
					<li class="btnhidden" onclick="changeType('alltype','payment')">最新发布</li>
				</ul>
			</div>
		</form>
		<form action="#" name="">
			<div id="divSelectSource" style="display: none">
				<ul>
					<li>
						<h4 style="font-weight: normal; margin-top: 2%;">热门搜索</h4>
						<div id="divSummary">
							<label class="radiolable" onClick="changeSummary(this)">
								<input name="groupSummary" type="radio" value="蛋糕" /> 蛋糕
							</label> <label class="radiolable" onClick="changeSummary(this)">
								<input name="groupSummary" type="radio" value="虾" /> 虾
							</label> <label class="radiolable" onClick="changeSummary(this)">
								<input name="groupSummary" type="radio" value="快手菜" /> 快手菜
							</label> <label class="radiolable" style="margin-top: 4%;"
								onClick="changeSummary(this)"> <input
								name="groupSummary" type="radio" value="鸡胸肉" /> 鸡胸肉
							</label> <label class="radiolable" onClick="changeSummary(this)">
								<input name="groupSummary" type="radio" value=" 宴客菜" /> 宴客菜
							</label>
						</div>
						<div class="searchSet">
							<input class="radiolable"
								style="background: #923A0C; color: #fff; line-height: 35px; float: right; margin-right: 4%; margin-top: -39px; margin-bottom: 10px"
								type="button" onClick="finsh()" value="完成">
						</div>
					</li>
				</ul>
			</div>
		</form>
	</div>
	<!--DataListStart-->
	<div class="whiteBack">
		<ul id="DataList">
		</ul>
	</div>
	<input type="hidden" id="path" value="../">
	<input type="hidden" id="ym" value="zjz">
	<input type="button" onClick="datalist()" id="bt" value="加载更多"
		class="morebutton gray" />
	<jsp:include page="../Share/top_bar.jsp"></jsp:include>
	<script type="text/javascript" src="../js/top_bar/top_bar_index.js"></script>
	<!--DateListEnd-->
	<script type="text/javascript" src="../js/search.js"></script>
	<script type="text/javascript" src="../js/searchRecruit.js"></script>
</body>
</html>
